package ch03.shangJi.sj2;

import ch03.shangJi.sj2.dao.ArithmeticDao;
import ch03.shangJi.sj2.factory.AddFactory;

public class Test {
    public static void main(String[] args) {
        ArithmeticDao dao=new AddFactory().getInstance();
        double result=dao.reckon(5,8);
        System.out.println(result);
    }
}
